package thread;

public class CurrentThreadDemo {
    public static void main(String[] args) {
        Thread main = Thread.currentThread();
        System.out.println("main的主线程：" + main);

    }
        public static void doSome () {
            Thread t = Thread.currentThread();
            System.out.println("运行doSome的主线程：" + t);

        }

}
